package com.yan.aoptest;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Application {


    public static void main(String[] args) {

        ConfigurableApplicationContext ctx = SpringApplication.run(Application.class, args);

        System.out.println("中文");
        UserAction userAction = (UserAction) ctx.getBean("userAction");
        userAction.queryUsers();

       
    }
}